package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.Quarter;
import com.xmy.cultivate.entity.RecordCourse;
import com.xmy.cultivate.entity.StudentLeaveApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.enums.StatusRecordEnum;
import com.xmy.cultivate.respons.LeaveApply;

import java.util.List;

/**
 * <p>
 * 学生请假申请表 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-11-10
 */
public interface IStudentLeaveApplyService extends IService<StudentLeaveApply> {

    //获取申请待处理数据
    List<LeaveApply> getNotHandleLeaveList(Long adminId);

    //获取申请已处理数据
    List<LeaveApply> getHandleLeaveList(Long adminId);

//    List<StudentLeaveApply> getLeaveApplyList(Long adminId,Integer status);

    RecordCourse addLeaveData(Long schedulingDetailId, Long studentId, Integer buckleHouse, StatusRecordEnum status, Integer type, Integer courseType, Quarter quarterNow);


}
